package cn.com.business.calculate;

public class FirstTwoCalculate extends AbstractCalculate {

	public FirstTwoCalculate(AbstractCalculate calculate) {
		super(calculate);
	}

	@Override
	public void calculate() {
		if (super.getLeftIntegral() >= 27.5 * 500
				&& super.getRightIntegral() >= 27.5 * 500) {
			super.setMoney(super.getMoney() + 1200);
			super.setCalculateProcess(2);
			super.next();
		}else{
			super.setDescription("结算第一轮第二阶段：左右美容院销售套数不足55套或者左右套数达不到比例的要求");
		}

	}

}
